Ubuntu SSH

Server:

  1. run $sudo apt-get install openssh-server

  2. run $ps -A |grep ssh.
    If there is sshd, then ssh-server has been started,
    else run $sudo /etc/init.d/ssh start to start ssh-server.

Tips: To stop ssh-server, execute $sudo /etc/init.d/ssh stop.
To modify the configuration, edit /etc/ssh/sshd_config.

Client:

ssh-client is usually already installed. If not, run
$sudo apt-get install openssh-client.

After installing ssh-client, run $ssh username@192.168.1.112.